package com.study.lxy.service.impl;

import com.study.lxy.service.AccountService;
import org.springframework.stereotype.Component;

@Component
public class AccountServiceImpl implements AccountService {

    public String queryAccountInfo(String account) {
        return "684531313";
    }

    public String registerAccount(String name, int age) {
        System.out.println("register account successful");
        return "684531313";
    }

    public void deleteAccount(String account) {
        System.out.println("delete account successful");
    }
}
